<%@ taglib prefix="uthink" uri="/WEB-INF/tld/shiros.tld"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,member-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="css/pagination.css" rel="stylesheet" type="text/css" />
<link href="lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet"
	type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>用户管理</title>
</head>
<body>
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>
		用户中心 <span class="c-gray en">&gt;</span> 用户管理 <a
			class="btn btn-success btn-refresh radius r mr-20"
			style="line-height: 1.6em; margin-top: 3px"
			onclick="javascript:location.replace(location.href);"
			href="javascript:location.replace(location.href);" title="刷新">刷新</a>
	</nav>
	<div class="pd-20">
		<div class="cl pd-10 bg-1 bk-gray">

			<form action="<%=path%>/backstage/member-search" method="get"
				class="form form-horizontal" id="search-form">

				<div class="cl">
					<label class="form-label col-1">真实姓名：</label>
					<div class="formControls col-2">
						<input type="text" name="c_tname" datatype="*" nullmsg="用户名" id=""
							placeholder="" value="" class="input-text" style="width: 90%">
					</div>
					<label class="form-label col-1">昵称：</label>
					<div class="formControls col-2">
						<input type="text" name="c_nick" datatype="*" nullmsg="昵称" id=""
							placeholder="" value="" class="input-text" style="width: 90%">
					</div>
					<label class="form-label col-1">手机号：</label>
					<div class="formControls col-2">
						<input type="text" name="c_mob" datatype="*" nullmsg="手机号" id=""
							placeholder="" value="" class="input-text" style="width: 90%">
					</div>

					<label class="form-label col-1"></label>
					<div class="formControls col-2">
						<button name="" id="" class="btn btn-primary radius" type="submit">
							查询</button>
						&nbsp;&nbsp;&nbsp;&nbsp;
						<button name="" onclick="the_reset();" id=""
							class="btn btn-primary radius">重置</button>
					</div>
				</div>

			</form>
		</div>

		<div class="mt-20">
			<table
				class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th width="80">编号</th>
						<th>真实姓名</th>
						<th>昵称</th>
						<th>首媒号</th>
						<th width="100">手机</th>
						<th width="120">注册时间</th>
						<th>认证详情</th>
						<th width="150">操作</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${t_members}" var="t_member">

						<tr class="text-c">
							<input type="hidden" id="id" name="id" value='${t_member.c_id}' />
							<td>${t_member.c_id}</td>
							<td>${t_member.c_tname}</td>
							<td>${t_member.c_nick}</td>
							<td>${t_member.sm_code}</td>
							<td>${t_member.c_mob}</td>
							<td>${t_member.str_regdate}</td>
							<td class="member_role_dl">
								<dl>
									<dd>
										<c:choose>
											<c:when test="${t_member.verify_idcard == 0}">
										身份未认证
									</c:when>
											<c:when test="${t_member.verify_idcard == 1}">
										身份已认证&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'idcard')">查看</a>
											</c:when>
											<c:when test="${t_member.verify_idcard == 2}">
										身份认证中&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'idcard')">查看</a>
											</c:when>
											<c:otherwise>
										身份认证未通过&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'idcard')">查看</a>
											</c:otherwise>
										</c:choose>
									</dd>
									<dd>
										<c:choose>
											<c:when test="${t_member.verify_partner == 0}">
										合伙人未认证
									</c:when>
											<c:when test="${t_member.verify_partner == 1}">
										合伙人已认证&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'partner')">查看</a>
											</c:when>
											<c:when test="${t_member.verify_partner == 2}">
										合伙人认证中&nbsp;&nbsp;&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'partner')">查看</a>
											</c:when>
											<c:otherwise>
										合伙人认证未通过&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'partner')">查看</a>
											</c:otherwise>
										</c:choose>
									</dd>
									<dd>
										<c:choose>
											<c:when test="${t_member.verify_entrepreneur == 0}">
										企业主未认证
									</c:when>
											<c:when test="${t_member.verify_entrepreneur == 1}">
										企业主已认证&nbsp;&nbsp;&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'entrepreneur')">查看</a>
											</c:when>
											<c:when test="${t_member.verify_entrepreneur == 2}">
										企业主认证中&nbsp;&nbsp;&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'entrepreneur')">查看</a>
											</c:when>
											<c:otherwise>
										企业主未通过&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'entrepreneur')">查看</a>
											</c:otherwise>
										</c:choose>
									</dd>
									<dd>
										<c:choose>
											<c:when test="${t_member.verify_media == 0}">
										自媒体未认证
									</c:when>
											<c:when test="${t_member.verify_media == 1}">
										自媒体已认证&nbsp;&nbsp;&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'media')">查看</a>
											</c:when>
											<c:when test="${t_member.verify_media == 2}">
										自媒体认证中&nbsp;&nbsp;&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'media')">查看</a>
											</c:when>
											<c:otherwise>
										自媒体未通过&nbsp;&nbsp;&nbsp;&nbsp;<br />
												<a class="btn btn-warning-outline size-MINI"
													href="javascript:void(0);"
													onclick="verifyInfo(${t_member.c_id},'media')">查看</a>
											</c:otherwise>
										</c:choose>
									</dd>
								</dl>
							</td>
							<td class="td-manage">
								<%-- <a class="btn btn-warning"
								onClick="t_member_edit(this,'${t_member.c_id}')"
								href="javascript:void(0);" title="编辑">编辑</a>  --%> <a
								class="btn btn-warning"
								onClick="t_member_show(this,'${t_member.c_id}')"
								href="javascript:void(0);" title="查看">查看</a> &nbsp;&nbsp; <a
								class="btn btn-danger"
								onClick="t_member_delete(this,'${t_member.c_id}')"
								href="javascript:void(0);" title="编辑">删除</a>
						</tr>
					</c:forEach>
				</tbody>
			</table>

			<div id="Pagination" class="page-con"></div>

		</div>
	</div>
	<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="lib/layer/1.9.3/layer.js"></script>
	<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
	<script type="text/javascript" src="lib/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript"
		src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="js/H-ui.js"></script>
	<script type="text/javascript" src="js/H-ui.admin.js"></script>
	<script type="text/javascript" src="js/jquery.pagination.js"></script>

	<script type="text/javascript">
	var showCount = ${pageInfo.showCount};
	var currentPage = ${pageInfo.currentPage-1};
	var totalResult = ${pageInfo.totalResult};
	var base_path = "<%=path%>";
	</script>

	<script type="text/javascript" src="js/t_member.js"></script>
</body>
</html>



